package com.yskj.mwk.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class JtTrajectory {

    private String billCode;
    private List<Detail> details;

    // Getter & Setter
    public String getBillCode() { return billCode; }
    public void setBillCode(String billCode) { this.billCode = billCode; }

    public List<Detail> getDetails() { return details; }
    public void setDetails(List<Detail> details) { this.details = details; }

    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Detail {
        private String desc;

        @JsonProperty("scanType")
        private String scanType;

        @JsonProperty("scanTime")
        private String scanTime;

        @JsonProperty("billCode")
        private String billCode;

        // 必须有无参构造函数
        public Detail() {}

        // Getter & Setter
        public String getDesc() { return desc; }
        public void setDesc(String desc) { this.desc = desc; }

        public String getScanType() { return scanType; }
        public void setScanType(String scanType) { this.scanType = scanType; }

        public String getScanTime() { return scanTime; }
        public void setScanTime(String scanTime) { this.scanTime = scanTime; }

        public String getBillCode() { return billCode; }
        public void setBillCode(String billCode) { this.billCode = billCode; }
    }
}
